import Vue from 'vue'
import Vuex from 'vuex'
import  menu from './modules/menu'
import role from "./modules/role"
import manage from "./modules/manage"
import cate from "./modules/cate"
import specs from "./modules/specs"
import goods from "./modules/goods"
import member from "./modules/member"
import banner from "./modules/banner"
import seckill from './modules/seckill'
import { state,mutations,getters } from './mutation'
import {actions} from './actions'
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    menu,
    role,
    manage,
    cate,
    specs,
    goods,
    member,
    banner,
    seckill,
  },
  
})
